package me.huangxiang.design_pattern.observer;

public class ObserverApp {
    public static void main(String[] args){
        WeatherData weatherData = new WeatherData();
        new CurrentConditionsDisplay(weatherData);
        weatherData.updateMeasurement(23.5f, 35.6f, 678f);
        weatherData.updateMeasurement(25.3f, 36.4f, 689f);
    }
}
